package com.ruoyi.system.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 商家财务对象 sys_business_finance
 * 
 * @author ruoyi
 * @date 2024-04-06
 */
public class SysBusinessFinance extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private String id;

    /** 商家id */
    @Excel(name = "商家id")
    private String businessId;

    /** 是否通过企业认证0=未通过 1=通过 */
    @Excel(name = "是否通过企业认证0=未通过 1=通过")
    private Integer authentication;

    /** 余额 */
    @Excel(name = "余额")
    private BigDecimal balance;

    /** 积分余额 */
    @Excel(name = "积分余额")
    private Long integralBalance;

    /** 等级 0= 累计销售额 0~1000，  1=1000~10000,2=10000~100000,3=100000~1000000,4=1000000~10000000 */
    @Excel(name = "等级 0= 累计销售额 0~1000，  1=1000~10000,2=10000~100000,3=100000~1000000,4=1000000~10000000")
    private BigDecimal grade;

    /** 评分 0=无评分 1=1星 ，2=星 ，3=3星，4，星，5星 */
    @Excel(name = "评分 0=无评分 1=1星 ，2=星 ，3=3星，4，星，5星")
    private Integer score;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setBusinessId(String businessId)
    {
        this.businessId = businessId;
    }

    public String getBusinessId()
    {
        return businessId;
    }
    public void setAuthentication(Integer authentication) 
    {
        this.authentication = authentication;
    }

    public Integer getAuthentication() 
    {
        return authentication;
    }
    public void setBalance(BigDecimal balance) 
    {
        this.balance = balance;
    }

    public BigDecimal getBalance() 
    {
        return balance;
    }
    public void setIntegralBalance(Long integralBalance) 
    {
        this.integralBalance = integralBalance;
    }

    public Long getIntegralBalance() 
    {
        return integralBalance;
    }
    public void setGrade(BigDecimal grade) 
    {
        this.grade = grade;
    }

    public BigDecimal getGrade() 
    {
        return grade;
    }
    public void setScore(Integer score) 
    {
        this.score = score;
    }

    public Integer getScore() 
    {
        return score;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("businessId", getBusinessId())
            .append("authentication", getAuthentication())
            .append("balance", getBalance())
            .append("integralBalance", getIntegralBalance())
            .append("grade", getGrade())
            .append("score", getScore())
            .append("delFlag", getDelFlag())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
